import java.util.Scanner;

public class Menu {
    public static void main(String[] args) {
        boolean loop = true;
        Scanner scanner = new Scanner(System.in);
        do {
            System.out.println("====================零钱通菜单====================");
            System.out.println("\t\t\t1 零钱通明细");
            System.out.println("\t\t\t2 收益入帐");
            System.out.println("\t\t\t3 消费明细");
            System.out.println("\t\t\t4 退出软件");
            String key = "";
            System.out.println("请选择您要进行的操作");

            key = scanner.next();
            switch (key) {
                case "1":

                    System.out.println("零钱通明细");
                    break;
                case "2":
                    System.out.println("收益入帐");
                    break;
                case "3":
                    System.out.println("消费");
                    break;
                case "4":
                    System.out.println("退出");
                    loop = false;
                    break;
            }
        } while (loop);
    }



}
